home *** CD-ROM | disk | FTP | other *** search
/ Aminet 25 / Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso / Aminet / game / shoot / ADoom_src_1_2.lha / ADoom_src / i_video.h < prev    next >
C/C++ Source or Header  |  1998-02-16  |  2KB  |  68 lines

  1. // Emacs style mode select   -*- C++ -*- 
  2. //-----------------------------------------------------------------------------
  3. //
  4. // $Id:$
  5. //
  6. // Copyright (C) 1993-1996 by id Software, Inc.
  7. //
  8. // This source is available for distribution and/or modification
  9. // only under the terms of the DOOM Source Code License as
  10. // published by id Software. All rights reserved.
  11. //
  12. // The source is distributed in the hope that it will be useful,
  13. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. // FITNESS FOR A PARTICULAR PURPOSE. See the DOOM Source Code License
  15. // for more details.
  16. //
  17. // DESCRIPTION:
  18. //    System specific interface stuff.
  19. //
  20. //-----------------------------------------------------------------------------
  21.  
  22.  
  23. #ifndef __I_VIDEO__
  24. #define __I_VIDEO__
  25.  
  26.  
  27. #include "doomtype.h"
  28.  
  29. #ifdef __GNUG__
  30. #pragma interface
  31. #endif
  32.  
  33.  
  34. // Called by D_DoomMain,
  35. // determines the hardware configuration
  36. // and sets up the video mode
  37. void I_InitGraphics (void);
  38.  
  39.  
  40. void I_ShutdownGraphics(void);
  41.  
  42. // Takes full 8 bit values.
  43. void I_RecalcPalettes (void);
  44. void I_SetPalette (byte* palette, int palette_index);
  45.  
  46. void I_MarkRect (int left, int top, int width, int height);
  47.  
  48. void I_UpdateNoBlit (void);
  49. void I_StartUpdate (void);
  50. void I_FinishUpdate (void);
  51.  
  52. // Wait for vertical retrace or pause a bit.
  53. void I_WaitVBL(int count);
  54.  
  55. void I_ReadScreen (byte* scr);
  56.  
  57. void I_BeginRead (void);
  58. void I_EndRead (void);
  59.  
  60.  
  61.  
  62. #endif
  63. //-----------------------------------------------------------------------------
  64. //
  65. // $Log:$
  66. //
  67. //-----------------------------------------------------------------------------
  68.